#ifndef CHECKUPDATEHANDLER
#define CHECKUPDATEHANDLER
#include "RequestHandler.h"
#include <iostream>
using namespace std;

class checkUpdateHandler:public RequestHandler
{
private:
    /* data */
    checkUpdateHandler(/* args */);
    static checkUpdateHandler* instance;
    static pthread_mutex_t lock;
public:
    
    ~checkUpdateHandler();
    void handler(TcpSocket *socket,map<string,string> paramMap);
    static checkUpdateHandler* getInstance();
};

#endif